package com.jubaopen.bean;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

public class JoinApply {

	private int id;
	private String nick;
	private String email;
	private String location;
	private String contact;
	private String memo;
	private Date gmtTime;
	
	
	public JoinApply() {

	}


	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	public String getNick() {
		return nick;
	}


	public void setNick(String nick) {
		this.nick = nick;
	}


	public String getEmail() {
		return email;
	}


	public void setEmail(String email) {
		this.email = email;
	}


	public String getLocation() {
		return location;
	}


	public void setLocation(String location) {
		this.location = location;
	}


	public String getContact() {
		return contact;
	}


	public void setContact(String contact) {
		this.contact = contact;
	}


	public String getMemo() {
		return memo;
	}


	public void setMemo(String memo) {
		this.memo = memo;
	}


	public String getGmtTime() {
		if (gmtTime != null && !"".equals(gmtTime)) {
			DateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
			return df.format(gmtTime);
		} else {
			return "";
		}
	}


	public void setGmtTime(Date gmtTime) {
		this.gmtTime = gmtTime;
	}
	
	
	
}
